home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 23 / CU Amiga - Super CD-ROM 23 (June 1998).iso / CreatingGames / Utilities / Misc / ModemLink / Source / ModemLinkDevAPI.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-03-25  |  521 b   |  19 lines

  1. #ifndef ML_API_DEV_H
  2. #define ML_API_DEV_H
  3.  
  4. #include <exec/ports.h>
  5.  
  6. /*
  7. ** Commands to be sent to the device
  8. */
  9. #define MLCMD_READ      (CMD_NONSTD+0)      // Send a packet
  10. #define MLCMD_WRITE     (CMD_NONSTD+1)      // recieve a packet
  11. #define MLCMD_QUERY     (CMD_NONSTD+2)      // query the device
  12.  
  13. #define MLCMD_INIT      (CMD_NONSTD+0x10)   // for internal use only
  14.  
  15. void __saveds __asm ML_BeginIO(register __a1 struct IORequest *IOReq);
  16. void __saveds __asm ML_AbortIO(register __a1 struct IORequest *IOReq);
  17.  
  18. #endif
  19.